package com.jflyfox.modules.admin.tuanjoineddetails;

import com.jflyfox.jfinal.base.BaseModel;
import com.jflyfox.jfinal.component.annotation.ModelBind;

@ModelBind(table = "tb_tuan_joined_details")
public class TbTuanJoinedDetails extends BaseModel<TbTuanJoinedDetails> {

	private static final long serialVersionUID = 1L;
	public static final TbTuanJoinedDetails dao = new TbTuanJoinedDetails();

    //columns START
    private String ID = "id";  // 团id
    private String TUANYUAN_ID = "tuanyuan_id";  // 团员ID
    private String CREATE_TIME = "create_time";  // 创建时间
    private String CREATE_ID = "create_id";  // 创建者
    
    public TbTuanJoinedDetails setId(Integer value) {
        set(ID, value);
        return this;
    }

	public Integer getId() {
		return get(ID);
	}
    public TbTuanJoinedDetails setTuanyuanId(Integer value) {
        set(TUANYUAN_ID, value);
        return this;
    }

	public Integer getTuanyuanId() {
		return get(TUANYUAN_ID);
	}
    public TbTuanJoinedDetails setCreateTime(String value) {
        set(CREATE_TIME, value);
        return this;
    }

	public String getCreateTime() {
		return get(CREATE_TIME);
	}
    public TbTuanJoinedDetails setCreateId(Integer value) {
        set(CREATE_ID, value);
        return this;
    }

	public Integer getCreateId() {
		return get(CREATE_ID);
	}
	
	@Override
	public String toString() {
		String log = ""; 
		log += "[id:" + getId() + "]";
		log += "[tuanyuanId:" + getTuanyuanId() + "]";
		log += "[createTime:" + getCreateTime() + "]";
		log += "[createId:" + getCreateId() + "]";
		return log;
	}
}